package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.OrderCouponDetailExample;
import com.ymttest.database.sharding.db.sharding.model.OrderCouponDetailPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderCouponDetailMapper {
    int countByExample(OrderCouponDetailExample example);

    int deleteByExample(OrderCouponDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OrderCouponDetailPo record);

    int insertSelective(OrderCouponDetailPo record);

    List<OrderCouponDetailPo> selectByExample(OrderCouponDetailExample example);

    OrderCouponDetailPo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OrderCouponDetailPo record, @Param("example") OrderCouponDetailExample example);

    int updateByExample(@Param("record") OrderCouponDetailPo record, @Param("example") OrderCouponDetailExample example);

    int updateByPrimaryKeySelective(OrderCouponDetailPo record);

    int updateByPrimaryKey(OrderCouponDetailPo record);
}